package com.fxz.rabbitmq.api;

import com.fxz.rabbitmq.api.pojo.Message;

/**
 * 消费者监听消息
 *
 * @author Fxz
 * @version 1.0
 * @date 2021-08-17 13:02
 */
public interface MessageListener {

    void onMessage(Message message);

}
